package com.huibei.wateradmin.authority.message;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by wanglinlin on 2016/7/16.
 */
public class ReqRegisterMsg {
    @NotNull
    @NotBlank(message = "邮箱不能为空~")
    String email;
    @NotNull
    @NotBlank(message = "中文名不能为空~")
    String cnName;
    @NotNull
    @NotBlank(message = "密码不能为空~")
    String password;
    String md5_key;

    public ReqRegisterMsg() {
    }

    public ReqRegisterMsg(String email, String cnName, String password) {
        this.email = email;
        this.cnName = cnName;
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
